<template>
    <a-steps :current=current>
        <a-step v-for="item in steps" :key="item" :title="item" />
    </a-steps>
</template>

<script>
    export default {
        name: "Steps",
        props: {
            steps: {
                required: false,
                type: Array,
                default: () => ["第一步", "第二步", "第三步"]
            },
            current:{
                required: true,
                type: Number,
                default: () => 0
            }
        }
    }
</script>

<style scoped lang="less">

</style>